<template>
  <footer class="footer">
    <!-- autoplay 自动播放 -->
    <audio :src='musicUrl' autoplay controls class="bottom"></audio>
  </footer>
</template>

<script>
export default {
  data() {
    return {
      musicUrl: "",
    };
  },
};
</script>

<style scoped>
.bottom {
  position: fixed;
  bottom: 0;
  left: 158px;
  padding-left: 10px;
  width: 1200px;
  z-index: 100000;
  border: 0 #fff solid;
}
</style>